﻿

# 添加可执行文件
add_executable(openssl_dso_example1 example1.cpp)
target_include_directories(openssl_dso_example1 PRIVATE /home/yd/code/openssl_study/install/include)
target_link_directories(openssl_dso_example1 PRIVATE /home/yd/code/openssl_study/install/lib)
target_link_libraries(openssl_dso_example1 crypto ssl)

# add_executable(openssl_mem_example2 example2.cpp)
# target_include_directories(openssl_mem_example2 PRIVATE /home/yd/code/openssl_study/install/include)
# target_link_directories(openssl_mem_example2 PRIVATE /home/yd/code/openssl_study/install/lib)
# target_link_libraries(openssl_mem_example2 crypto ssl)
